package com.aaa.zs.servie;

import com.aaa.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @fileName:UserService
 * @description:
 * @author:忆尘
 * @createTime:2020/11/14 9:12
 * @version:1.0.0
 */

@FeignClient("ssoService")
public interface UserService {
    /**
     * 远程调用校验token方法
     * @param accessToken
     * @return
     */
    @GetMapping("/SsoController/checkToken")
    boolean checkToken(@RequestParam("accessToken") String accessToken);

}
